package com.repair.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("repairman_order")
public class RepairmanOrder {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long repairmanId;  // 维修员ID
    
    private Long orderId;      // 维修订单ID
    
    private Integer status;    // 状态：0-待接单，1-已接单，2-已完成，3-已取消
    
    private String remark;     // 备注
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;  // 创建时间
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;  // 更新时间
    
    @TableLogic
    private Integer deleted;   // 逻辑删除
} 